package com.ruoyi.system.service.impl;

import com.baomidou.mybatisplus.core.metadata.OrderItem;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.SysClassMapper;
import com.ruoyi.system.domain.SysClass;
import com.ruoyi.system.service.ISysClassService;

/**
 * 班级信息Service业务层处理
 *
 * @author chenjiuchang
 * @date 2025-10-16 16:10
 */
@Service
public class SysClassServiceImpl extends ServiceImpl<SysClassMapper, SysClass> implements ISysClassService {
    @Autowired
    private SysClassMapper sysClassMapper;

    /**
     * 查询班级信息列表
     *
     * @param sysClass 班级信息 orders 排序
     * @return 班级信息
     */
    @Override
    public List<SysClass> queryList(SysClass sysClass , List<OrderItem> orders) {
        return baseMapper.selectByEntity(sysClass, orders);
    }

}
